projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34bef0e
)
kexec: Flush console on kexec_crash().
author
Keir Fraser
<keir@xensource.com>
Fri, 15 Jun 2007 15:30:10 +0000
(16:30 +0100)
committer
Keir Fraser
<keir@xensource.com>
Fri, 15 Jun 2007 15:30:10 +0000
(16:30 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/kexec.c
patch
|
blob
|
history
diff --git
a/xen/common/kexec.c
b/xen/common/kexec.c
index c0fe6d239622d324ffb5f5af970c0fb6807f7e14..577492fec0214a4cdfa6926525a9766197162d7e 100644
(file)
--- a/
xen/common/kexec.c
+++ b/
xen/common/kexec.c
@@
-19,6
+19,7
@@
#include <asm/atomic.h>
#include <xen/spinlock.h>
#include <xen/version.h>
+#include <xen/console.h>
#include <public/elfnote.h>
#ifndef COMPAT
@@
-110,6
+111,8
@@
void kexec_crash(void)
if ( !test_bit(KEXEC_IMAGE_CRASH_BASE + pos, &kexec_flags) )
return;
+ console_start_sync();
+
one_cpu_only();
kexec_crash_save_cpu();
machine_crash_shutdown();